<div style="border:1px solid black; width:120px; height:30px; background:#DDD;">
    <div style="float:right; width:130px; background:#999;">float:right</div>
</div>
<br />
<div style="border:1px solid black; width:120px; height:30px; background:#DDD; direction:rtl;">
    <div style="float:left; width:130px; background:#999;">float:left</div>
</div>